package com.cs.abstractfactory;

/**
 * @author Sam.Lee E-mail:lishanman2007@163.com
 * @version Created：Jul 29, 2011 2:52:55 PM
 */
public class Client {
	public static void main(String[] args) {
		MachineFactory factory = new NJMachineFactory();
		HandMachine handMachine = factory.createHandMachine();
		AutomaticMachine automaticMachine = factory.createAutomaticMachine();
		handMachine.setHandMachineName();
		automaticMachine.setAutomaicMachine();
	}
}
